home *** CD-ROM | disk | FTP | other *** search
- Path: newsroom.hitc.com!kfreeman
- From: kfreeman@mandrake.HITC.COM (Keith Freeman)
- Newsgroups: comp.lang.c++
- Subject: Re: Use of templates in a large c++ project.
- Date: 20 Mar 1996 18:10:12 GMT
- Organization: Hughes Team (EOSDIS)
- Message-ID: <KFREEMAN.96Mar20131012@mandrake.HITC.COM>
- References: <4i45sm$97q@news_1.cyrix.com>
- NNTP-Posting-Host: mandrake.hitc.com
- In-reply-to: Ken Toney's message of 12 Mar 1996 15:40:06 GMT
-
- In article <4i45sm$97q@news_1.cyrix.com> Ken Toney <kent> writes:
-
- > This company when they auto-instantiate, causes
- > multiply defined symbols; When this company explicitly
- > instantiations, they have to include the template
- > library archive several times in the link command.
- >
-
- It really depends on your compiler. We use templates
- (auto-instantiation) on a very large project with no such problems.
- At first, a compiler bug caused multiply-defined symbols (Sun C++
- 3.0.1), but the latest patch fixes that.
-
- Notice the success of products like Tools.h++; there must be a lot of
- projects out there using templates successfully.
-
- keith freeman
- kfreeman@eos.hitc.com
-
-